ahrefs\AhrefsSeo_Vendor\phpseclib\Net\SFTP D

Total Complexity 575
Dependencies 1
Dependents 1
Total lines 3,268
Lines of code 1,949
Logical lines of code 1,357
Comment lines 1,206
Methods 81
Properties 23

Methods 81

Method Rating Maintainability Complexity Lines of code
_parseAttributes()
D
24
45 172
put()
D
24
46 150
get()
D
28
38 129
_list()
C
33 28 92
_comparator()
C
41 27 52
_get_sftp_packet()
B
35 21 81
_partial_init_sftp_connection()
B
39 17 64
_setstat_recursive()
B
43 16 49
_init_sftp_connection()
B
43 16 46
lstat()
A
44 15 44
stat()
A
46 14 38
_delete_recursive()
A
44 13 46
_realpath()
A
44 13 45
_update_stat_cache()
A
49 12 29
delete()
A
46 11 39
rawlist()
A
48 11 30
touch()
A
45 10 38
chdir()
A
47 10 36
_parseMode()
A
53 10 24
_setstat()
A
47 9 34
rename()
A
48 9 33
_nlist_helper()
A
52 9 23
readlink()
A
49 8 32
chmod()
A
49 8 30
symlink()
A
49 8 30
filetype()
A
54 8 22
rmdir()
S
51 7 27
_get_xstat_cache_prop()
S
57 7 17
_send_sftp_packet()
S
49 6 29
_mkdir_helper()
S
53 6 22
__construct()
S
37 3 64
is_readable()
S
55 5 20
mkdir()
S
54 5 20
is_writable()
S
55 5 20
_close_handle()
S
55 5 19
_remove_from_stat_cache()
S
56 5 18
_read_put_responses()
S
56 5 18
_logError()
S
58 5 15
_parseLongname()
S
59 5 15
_stat()
S
58 4 16
_query_stat_cache()
S
59 4 14
setListOrder()
S
59 4 14
getSupportedVersions()
S
60 4 13
file_exists()
S
61 4 13
_parseTime()
S
60 3 12
getSFTPLog()
S
62 3 12
_precheck()
S
65 3 9
size()
S
68 3 7
chgrp()
S
72 2 4
getLastSFTPError()
S
77 2 3
getNegotiatedVersion()
S
72 2 6
chown()
S
72 2 4
is_dir()
S
68 2 7
is_link()
S
68 2 7
is_file()
S
68 2 7
pwd()
S
72 2 6
realpath()
S
71 2 6
setPreferredVersion()
S
82 1 3
getSFTPErrors()
S
83 1 3
_disconnect()
S
76 1 4
disableStatCache()
S
81 1 3
_reset_connection()
S
71 1 6
enableStatCache()
S
81 1 3
enableDatePreservation()
S
81 1 3
clearStatCache()
S
82 1 3
fileperms()
S
80 1 3
enablePathCanonicalization()
S
81 1 3
disablePathCanonicalization()
S
81 1 3
enableArbitraryLengthPackets()
S
81 1 3
_get_lstat_cache_prop()
S
79 1 3
_get_stat_cache_prop()
S
79 1 3
disableArbitraryLengthPackets()
S
81 1 3
filesize()
S
80 1 3
filegroup()
S
80 1 3
fileowner()
S
80 1 3
filemtime()
S
80 1 3
fileatime()
S
80 1 3
is_writeable()
S
81 1 3
nlist()
S
79 1 3
truncate()
S
73 1 4
disableDatePreservation()
S
81 1 3